Replace

Replaces text in a string and returns the resulting string.

Syntax

Replace("String", "TextToReplace", "ReplacementText")

Arguments

Argument Description
String String that contains the text to replace.
TextToReplace Text to replace in the string.
ReplacementText Replacement text.

Return value

Value Description
Value Resulting string.

Example

textReplace = Replace("WysiWrite updates are now available.", "Write", "Draw")